package com.xuecheng.content.model.dto;

import com.xuecheng.base.exception.ValidationGroups;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data

public class EditCourseDto extends AddCourseDto{

    @ApiModelProperty(value = "课程ID",required = true)
//    @NotEmpty(message = "修改课程ID不能为空", groups = {ValidationGroups.Update.class})
    private Long id;
}
